package com.bgds.sys.module.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 报警日志数据传输对象
 * @author lj
 */
@Data
public class AlarmLogDto implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;

    @ApiModelProperty(value = "报警区域")
    private String regionName;

    @ApiModelProperty(value = "报警类型")
    private String category;

    @ApiModelProperty(value = "报警时间")
    private Long alarmDate;

    @ApiModelProperty(value = "报警等级")
    private Integer alarmLevel;

    @ApiModelProperty(value = "报警等级名称")
    private String alarmLevelName;

    @ApiModelProperty(value = "报警设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "报警设备")
    private String deviceName;

    @ApiModelProperty(value = "报警点")
    private Long attrId;

    @ApiModelProperty(value = "报警数据项")
    private String attrName;


    @ApiModelProperty(value = "状态(0:未处理,1:已处理)")
    private Integer status=0;

    @ApiModelProperty(value = "处理时间")
    private Long processingTime;

    @ApiModelProperty(value = "报警原因")
    private String reason;

    @ApiModelProperty(value = "报警次数")
    private Integer alarmCount;

}
